Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NET-1165: status api update, increase metrics collection interval #838

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

abhishek9686
Copy link
Member

Describe your changes

Provide Issue ticket number if applicable/not in title

Provide link to Netmaker PR if required

Provide testing steps

Checklist before requesting a review

  • My changes affect only 10 files or less.
  • I have performed a self-review of my code and tested it.
  • If it is a new feature, I have added thorough tests, my code is <= 1450 lines.
  • If it is a bugfix, my code is <= 200 lines.
  • My functions are <= 80 lines.
  • I have had my code reviewed by a peer.
  • My unit tests pass locally.
  • Netclient & Netmaker are awesome.

@abhishek9686 abhishek9686 merged commit 38f7ee3 into NET-1226 Jul 1, 2024
4 checks passed
abhishek9686 added a commit that referenced this pull request Jul 9, 2024
* if without failover node enabled, skip failover watch

* update checkin interval

* add fallback for publicmetric

* publish metric in sub goroutine

* JoinPull signal trigger pull without restart

* update action name to SignalPull

* add setpeers in pull if without restart

* on pull signal execute mqfallback func

* revert the qos back to 1 for host/serverupdate and publish metric

* status api update, increase metrics collection interval

* status api update, increase metrics collection interval (#838)

* increase metrics interval

* check err response

* change checkin/publishmetric to api rather than mq message

* add token in global variable, refresh token if it's expired

* update publish_metric_interval and change signalpeer to api

* update func name from hostUpdateFallback to hostServerUpdate

* revert signalpeer to mq publish from api call

* check if there is handshake and ignore tcp ping

* remove setpeer in pull

---------

Co-authored-by: abhishek9686 <[email protected]>
Co-authored-by: Abhishek K <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant